#include<stdio.h>
#include<unistd.h>
int main(int argc,char* argv[]){
    printf("now dir=$=%s\n",getcwd(NULL,0));
    chdir(argv[1]);
    printf("now dir=$=%s\n",getcwd(NULL,0));
    return 0;
}
